package com.up.stores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author KLE1NBLUE&LackOxy
 * @since 2022-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Admin对象", description="")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员id")
    @TableId(value = "adm_id", type = IdType.AUTO)
    private Integer admId;

    @ApiModelProperty(value = "管理员账号")
    private String adminName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "性别:0-女，1-男")
    private Integer gender;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "所属实验室")
    private Integer libId;

    @ApiModelProperty(value = "学校")
    private String school;

    @ApiModelProperty(value = "盐值")
    private String salt;

    @ApiModelProperty(value = "是否删除：0-未删除，1-已删除")
    private Integer isDelete;

    @ApiModelProperty(value = "日志-创建人")
    private String createdUser;

    @ApiModelProperty(value = "日志-创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "日志-最后修改执行人")
    private String modifiedUser;

    @ApiModelProperty(value = "日志-最后修改时间")
    private Date modifiedTime;

}
